﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GroupMng.aspx.cs" Inherits="Jy123.Web.Manage.User.GroupMng" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../css/custom/jquery.ui.css" rel="stylesheet" type="text/css" />
    <link href="../css/main.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery.js" type="text/javascript"></script>

    <script src="../js/jquery.ui.js" type="text/javascript"></script>

    <script src="../js/main.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        function del(id)
        {
            if(confirm('你确认删除吗?'))
                self.location="?Type=del&id="+id;
        }
    </script>

    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <h4>
        <a href="#"><span>群组管理</span></a></h4>
    <div class="register">
        <ul>
            <li>搜索群组：</li>
            <li>
                <asp:TextBox ID="txtSearch" runat="server" CssClass="text"></asp:TextBox></li>
            <li>
                <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" CssClass="button" /></li>
        </ul>
    </div>
    <div>
        <asp:Repeater runat="server" ID="Rpt_GroupList">
            <HeaderTemplate>
                <table class="tblist">
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <img src="<%#Eval("Portrait") %>" />
                    </td>
                    <td>
                        群名称：<%#Eval("GroupName") %>
                    </td>
                    <td>
                        创建人：<%#Eval("UserName") %>
                    </td>
                    <td>
                        创建时间：<%#Convert.ToDateTime(Eval("PostTime")).ToString("yyyy-MM-dd") %>
                    </td>
                    <td>
                        <a href="javascript:del(<%#Eval("ID") %>);" class="btnsty cred">删除</a>
                    </td>
                </tr>
                <tr>
                    <td>
                        主题数：<%#Eval("Cnt")%>
                    </td>
                    <td>
                        成员数：<%#Eval("Members")%>
                    </td>
                    <td colspan="3">
                        公告：<%# Eval("Bulletin")%>
                    </td>
                </tr>
                <tr>
                    <td>
                        网络属性：<%# Eval("NetWork")%>
                    </td>
                    <td>
                        公开程度：<%#Eval("Publicity")%>
                    </td>
                    <td colspan="3">
                        状态：<%#Eval("State") %>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
